import {createRoot} from 'react-dom/client'
import App from './App.tsx'
import {StrictMode} from "react";

window.addEventListener('resize', () => {
    document.documentElement.style.fontSize = document.documentElement.clientWidth / 375 * 100 + 'px'
})
document.documentElement.style.fontSize = document.documentElement.clientWidth / 375 * 100 + 'px'

createRoot(document.getElementById('root')!).render(
    <StrictMode>
        <App/>
    </StrictMode>,
)
